package com.relytosoft.mizar.media.analyze.api.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.relytosoft.dubhe.common.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
 * 人的扩展信息
 *
 * @author a3621
 */
@TableName("AY_PERSON_FACE")
@ApiModel("AyPersonFace")
public class AyPersonFace extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "ID", type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Integer id;

    /**
     * 人员ID
     */
    @ApiModelProperty(value = "人员ID")
    @TableField("PERSON_ID")
    private Integer personId;

    /**
     * 图片ID
     */
    @ApiModelProperty(value = "图片ID")
    @TableField("IMAGE_ID")
    private Integer imageId;

    /**
     * 图片地址
     */
    @ApiModelProperty(value = "图片地址")
    @TableField("IMAGE_URL")
    private String imageUrl;

    /**
     * 图片特征值
     */
    @ApiModelProperty(value = "图片特征值")
    @TableField("FEATURE")
    private String feature;

    /**
     * 获得主键
     */
    public Integer getId() {
        return this.id;
    }

    /**
     * 设置主键
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获得人员ID
     */
    public Integer getPersonId() {
        return this.personId;
    }

    /**
     * 设置人员ID
     */
    public void setPersonId(Integer personId) {
        this.personId = personId;
    }

    /**
     * 获得图片ID
     */
    public Integer getImageId() {
        return this.imageId;
    }

    /**
     * 设置图片ID
     */
    public void setImageId(Integer imageId) {
        this.imageId = imageId;
    }

    /**
     * 获得图片地址
     */
    public String getImageUrl() {
        return this.imageUrl;
    }

    /**
     * 设置图片地址
     */
    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    /**
     * 获得图片特征值
     */
    public String getFeature() {
        return this.feature;
    }

    /**
     * 设置图片特征值
     */
    public void setFeature(String feature) {
        this.feature = feature;
    }

    @Override
    public String toString() {
        return "AyPersonFace{id=" + id +
                ",personId=" + personId +
                ",imageId=" + imageId +
                ",imageUrl=" + imageUrl +
                ",feature=" + feature +
                ",createdId=" + createdId +
                ",createdBy=" + createdBy +
                ",createdTime=" + createdTime +
                ",updatedId=" + updatedId +
                ",updatedBy=" + updatedBy +
                ",updatedTime=" + updatedTime +
                "}";
    }
}

